package com.bot.edu.employmentsystem.resume.service;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.bot.edu.employmentsystem.resume.entity.EducationExperience;
import com.bot.edu.employmentsystem.resume.entity.PositonIntention;
import com.bot.edu.employmentsystem.resume.entity.ProjectExperience;
import com.bot.edu.employmentsystem.resume.entity.WorkExperience;
import com.bot.edu.employmentsystem.resume.entity.EmploymentResume;
import com.baomidou.mybatisplus.extension.service.IService;
import org.apache.ibatis.annotations.Param;

import java.io.Serializable;
import java.util.Collection;
import java.util.List;

/**
 * @Description: 简历表
 * @Author: jeecg-boot
 * @Date:   2022-04-02
 * @Version: V1.0
 */
public interface IEmploymentResumeService extends IService<EmploymentResume> {

	/**
	 * 添加一对多
	 * 
	 */
	public void saveMain(EmploymentResume employmentResume, List<EducationExperience> educationExperienceList, List<PositonIntention> positonIntentionList, List<ProjectExperience> projectExperienceList, List<WorkExperience> workExperienceList) ;
	
	/**
	 * 修改一对多
	 * 
	 */
	public void updateMain(EmploymentResume employmentResume, List<EducationExperience> educationExperienceList, List<PositonIntention> positonIntentionList, List<ProjectExperience> projectExperienceList, List<WorkExperience> workExperienceList);
	
	/**
	 * 删除一对多
	 */
	public void delMain(String id);
	
	/**
	 * 批量删除一对多
	 */
	public void delBatchMain(Collection<? extends Serializable> idList);

    List<EmploymentResume> queryStuResumeList(String stuId);
}

